//
//  PlaceOrderSpecTableViewCell.h
//  HAODE
//
//  Created by LiYinDi on 16/1/12.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol PlaceOrderSpecCellDelegate;
@interface PlaceOrderSpecTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *lineLabel;

@property (weak, nonatomic) IBOutlet UIView *countParentView;
@property (weak, nonatomic) IBOutlet UIButton *subtractCountBtn;
@property (weak, nonatomic) IBOutlet UIButton *addCountBtn;
@property (weak, nonatomic) IBOutlet UITextField *countTextField;
 
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (nonatomic) NSInteger parentIndex;
@property(nonatomic,weak) id<PlaceOrderSpecCellDelegate> delegate;
@end
@protocol PlaceOrderSpecCellDelegate <NSObject>
@optional
//-(void)SpecCellOutsideAddBtnClick:(NSUInteger)tag;
-(void)SpecCellAddCountBtnClick:(NSUInteger)tag parentIndex:(NSUInteger)parentIndex;
-(void)SpecCellSubtractCountBtnClick:(NSUInteger)tag parentIndex:(NSUInteger)parentIndex;

@end